package com.boc.ewr.business.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boc.ewr.bcimp.service.ICacService;
import com.boc.ewr.business.entity.AcctDtlClassA1;
import com.boc.ewr.business.mapper.AcctDtlClassA1Mapper;
import com.boc.ewr.business.service.IAcctDtlClassA1Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description: A1类账户明细
 * @Author: jeecg-boot
 * @Date:   2023-05-26
 * @Version: V1.0
 */
@Service
public class AcctDtlClassA1ServiceImpl extends ServiceImpl<AcctDtlClassA1Mapper, AcctDtlClassA1> implements IAcctDtlClassA1Service {

    @Autowired
    AcctDtlClassA1Mapper acctDtlClassA1Mapper;

    @Override
    @Transactional(rollbackFor = Exception.class)
    public void createInfo() {
        //筛选出符合条件的
        saveBatch(acctDtlClassA1Mapper.creatInfo());
    }
}
